package com.example.JavaWebApi.model.configmodel;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: java-web-api
 * @description: 第三方登录配置模型
 * @author: 杨泽
 * @create: 2024-04-02 13:23
 */
@Data
@ConfigurationProperties(prefix = "adks.thirdlogin")
@Component
public class ThirdLogin {
    private MetaData wechat;
    private MetaData pc;
    @Data
    public static class MetaData{
        private String appId;
        private String appSecret;
    }
}
